package com.errorfinding.rabbitmq.util;

/**
 * 睡眠工具类
 */
public class SleepUtils {

    public static void sleep(int second){

        try {
            Thread.sleep(1000*second);
        }catch (Exception e){
            //打断当前线程
            Thread.currentThread().interrupt();
        }

    }
}
